package com.example.demo.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.project.entity.Student;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {

//    //根据id获取学生信息
//    Student get(Long id);
//
//    //获取所有学生列表
//    List<Student> list(String studentName);
//
//    //根据学生id删除信息
//    int delete(Long id);
//
//    //新增学生
//    int insert(Student student);
Page<Student> queryAllStudent(Page<Student> pagination);
}
